package com.linciping.room.sample

import android.app.Application
import androidx.room.Room
import com.linciping.room.db.DBManager

class MyApp : Application() {

    override fun onCreate() {
        super.onCreate()
        DBManager.init(
            Room.databaseBuilder(this, SampleDatabase::class.java, "sample").build()
        )
    }
}